package service;

import dao.TestDIDao;

public class TestDIServiceImpl implements TestDIService{
    private TestDIDao testDIDao;
    public void  setTestDIDao(TestDIDao testDIDao){
        this.testDIDao=testDIDao;
    }

    @Override
    public void sayHello() {
        testDIDao.sayHello();
        System.out.println("构造方法注入");

    }
}
